package cn.powertime.evaluation.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ReqAnswerTestPaperSearchVo implements Serializable {

    @ApiModelProperty(value = "试卷类型，1:课后作业，2：课程刷题，3真题模拟，4：测评练习，5：自查工具，6：智能练习", required = true, name = "type", example = "1", position = 1)
    @NotNull(message = "试卷类型不能为空")
    @Max(value = 6, message = "试卷类型最大值为6")
    @Min(value = 1, message = "试卷类型最小值为1")
    private Integer type;

}
